let pp = "hhh";
class a { 
 
    ceshi() {
        console.log("12131");
    }
    nnn() { 
        this.k = "KKKKKKKKK";
        console.log(c.k);
        
    }
    hhh() {  console.log(new.target,789);}
}




const cls= class Point {
   
    toString() {
      return `(${this.x},${this.y})`;
    }

    get prop() { 

        return this.y;
    }

    set prop(value) { 
        this.y=value;
        return this.y;
    }
    static cej() { 
        console.log("这是一个静态方法" + this.myStaticProp);
        console.log(new.target);
        
    }
    cej() { 
        console.log("这是一个静态方法" + this.myStaticProp);
        console.log(new.target);
        
    }
}

let pott = new a();
pott.hhh();

let person = new class {
    constructor(name) {
      this.name = name;
    }
  
    sayName() {
      console.log(this.name);
    }
  }('张三');
  
  person.sayName();

  


let pot = new cls();
pot.cej();
[pot.x, pot.y,pot.prop] = ["123", "456","cssssssssssssssssssssssses"];
console.log(pot.toString());
console.log(pot.prop);
var  kn= function name() {
    
}
console.log(kn.name);

class jicbheng extends cls { 

}

cls.cej();

jicbheng.cej();

var ckk = new jicbheng();



class Rectangle {
    constructor(length, width) {
      console.log(new.target);
      this.length = length;
      this.width = width;
    }
  }
  
var obj = new Rectangle(3, 4); // 输出 true
  


for (let index = 0; index <= length; index++) {
    JSC.doAjaxCall(configJS.webApiAddress + "/api/Todo/AssignedToUserByUltAsync", "post", "json", {
        TASK_ID: taskIds.split(",")[index],
        HISTORY_USER_ACCOUNT: configJS.Domain + _oper,
        CURRENT_USER_ACCOUNT: userLoginName
    }
        , function (retObject) {
            if (retObject.RESULT && index == length) {
                layer.msg("Successful");
                getTaskGrid(); //绑定流程列表
            } else {
                alert("指派失败");
            }
        });

}
           }